/**
 * Statistic 组件的主题配置
 */

import type { ComponentToken } from 'antd/es/statistic/style';

export const statisticThemeConfig: Partial<ComponentToken> = {
  titleFontSize: 14,
  contentFontSize: 24,
};

export const getStatisticTheme = (
  customConfig?: Partial<ComponentToken>
): Partial<ComponentToken> => {
  return {
    ...statisticThemeConfig,
    ...customConfig,
  };
};

export type { ComponentToken as StatisticComponentToken } from 'antd/es/statistic/style';

